﻿using System;

namespace _019.继承
{
	internal class Program
	{
		static void Main(string[] args)
		{
			BaseClass bc = new BaseClass();
			
			bc.Function1();
			bc.Function2();


			DriverdClass dc = new DriverdClass();
			dc.Function1();
			dc.Function2();

			DriverdClass2 dc2 = new DriverdClass2();
			dc2.Function1();
			dc2.Function2();

		}
	}
}
